1 / 4
Mar 2016

I'm using Ejunkie to sell multiple downloads with a self-hosted Thank You page. I'm currently tracking goal completion with Google Analytics, but this doesn't tell me much since I have different products at different prices. Is there any way to set a goal value for my conversions?

  • created

    Mar '16
  • last reply

    Mar '16
  • 3

    replies

  • 1.4k

    views

  • 2

    users

  • 2

    links

When we redirect the buyer to your site's thank-you page, we append a query string to the end of your URL with some order-specific parameters, so custom scripting in your page could grab those parameter values and do things with them -- see "Redirection query parameters" here:

1http://www.e-junkie.com/ej/help.redirection.htm1



E.g., your custom scripting could grab the value of the 'gross' parameter to get an order total and insert that into GA tracking code in your page wherever you require it, or perhaps GA tracking could read the full URL of the page and parse out the 'gross' value at their end.



If you weren't redirecting to a thank-you page on your site, the standard thank-you pages we generate for you can automatically include GA tracking code with Ecommerce Tracking details whenever we detect the buyer's browser has a GA tracking cookie set by our custom version of the GA tracking code:

http://www.e-junkie.com/ej/help.tracking.htm

Just to be clear:



If I use your standard thank-you page after adding your custom GA code to all of my pages, I also don't need to add the custom GA code to the thank you page, correct?

That is correct, as our thank-you pages would automatically add our GA tracking code when we detect the buyer's browser already has a GA tracking cookie set by our version of the tracking code. Make sure you use only our version of the GA tracking code anywhere you wish to use GA tracking on your site -- i.e., don't mix-match our code with Google-provided GA code on the same page nor even on different pages.