3 ms·
> Why include the lookup table in the client code? maybe it’s a static site.
by mygo 8y ago
> Why include the lookup table in the client code?
maybe it’s a static site.
- jrockway 8y agoThe example was sending the data to Google Analytics, though.
- mygo 8y agostatic sites can use google analytics. google analytics is a client side include. I’ve set up a few static landing pages, and used google analytics to see how much traffic they’re getting, if any
- krispbyte 8y agoWhich reinforces the need to do the lookup in client code since you can't code it into GA.
- mygo 8y agoI mean you could just get the data from the client that the lookup needs and then send that data to your server for your server to do the lookup and then return the result to the client but maybe it’s a static site