Routing data to API then to Google Analytics? -


this general question tracking data on google analytics. firm has larger average number of individuals opting-out of google analytics privacy reasons -- that's fine -- we'd still capture purchase made , store in google analytics goals (currently these individuals not showing on ga pageviews or on our quoting page).

the question is, when individual uses click event make purchase route individual's data page (or api call?) , send on google analytics record of purchase captured? has ever done this?

i want respect individual's rights privacy i'd still know capturing 100% of purchases made in google analytics goals.

thanks thoughts.

since tos state specifically in §7:

you must not circumvent privacy features (e.g., opt-out) part of service.

you on thin ice here (you can try argue google not circumventing, shouldn't hold breath , terminate account if violate tos).

else: sure, use hit builder construct tracking url measurement protocol:

www.google-analytics.com/collect?v=1&t=pageview&tid=ua-123456-1&cid=555&ec=purchase&ea=completed&dp=%2fpath%2fto%2fconfirmation%2fpage 

this register event event category (ec) "purchase", event action "completed" document path (dp) "/path/to/confirmation/page" generic client id. set image source tracking pixeln fired opt-out users.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -