Highlighted

Event stream only fires onClick

Rookie Contributor
We are in the process of moving to Demandware and I'm using ES to QA my data layer, but it's only firing onClick via the Link Tracking extension. Any ideas why this would be the case? I haven't altered ES at all.
5 REPLIES 5
Highlighted

Event stream only fires onClick

Employee Emeritus
Hey Jeremy, I just loaded the production using the following URL: http://www.harmankardon.com/estore/hk/us/index.jsp (using the hk-atg profile) I see the EventStream tag firing on page load of the homepage. In the inspector you can do a search for "uconnect" to filter the results. Are you able to see the server request for EventStream using "uconnect" on this page as well? Is there a different site you are referring to in your question?
Highlighted

Event stream only fires onClick

Rookie Contributor
Hi Jared, That profile is still on ATG. ha-us is our DW profile. I use uconnect to track it, but only see calls onClick.
Highlighted

Event stream only fires onClick

Employee Emeritus
What is the URL for the site using the "ha-us" profile? Is there a publicly accessible URL that we can view?
Highlighted

Event stream only fires onClick

Employee Emeritus
Hey Jeremy, There is an issue with an extension that is currently set up that is causing this problem. There is an extension titled "Set stock variables" that is setting the referrer value equal to "previous_page." The problem is that "previous_page" is never defined so it contains a value of undefined. Within the EventStream template this is throwing an error because the template is expecting the referrer value to either contain a value or be empty "" (which is how our utag.js file sets this value if there is no referrer). I would suggest removing the "previous_page" setting from the extension and add a new Set Data Values extension set up like: Set "referrer" To: Variable -> "previous_page" Condition if "previous_page is populated However, I'm not sure it is recommended to alter the referrer value. I'm assuming you are trying to overwrite the referrer value for a certain vendor. I would suggest creating a new variable to capture the necessary referrer (previous_page) then mapping that new variable to the specific vendor that is needing the overwritten value. Hope that helps.
Highlighted

Event stream only fires onClick

Rookie Contributor
perfect! thanks.