We have Facebook users that come to our website, and we need to count their purchases as the number of conversions.
for example, we have the following URL with parameters:
But when it goes to checkout and success page all the parameters will go away, I tried to create a session and set the variable, when I log the variable I can see that I have it, however, I need to show it on success page, so that It can be recorded on the Google Analytics, I was wondering maybe I should get an observer to observe the parameters, store them in session and then if user purchased an item show the parameters in the success URL. However, I do not know what kind of observer can do it. Here is what I did instead,
in product detail page I have the following: app\design\frontend\enterprise\scosche\template\colorswatch\view.phtml
then In the success page and checkout I did the following: app\design\frontend\enterprise\scosche\template\checkout\success.phtml
but how to make the success page to have the parameters in the browser? I don't think redirecting the page is a good idea.