Expand my Community achievements bar.

SOLVED

What would cause double firing of a search query in adobe analytics?

Avatar

Level 4

Running into an issue where there is double firing of a search query after an email click, however the query is only in the URL once. What else could be causing the double firing of a search query if the query is only in the URL once?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

To debug the issue, you can try the following steps:

  1. Use the browser's developer tools to monitor the network requests and identify any duplicate requests related to the search query event.

  2. Inspect your JavaScript and Adobe Analytics implementation to ensure the search query event is triggered only once.

  3. Review any recently added or updated code on the page that could be causing conflicts or unexpected behavior.

View solution in original post

4 Replies

Avatar

Community Advisor and Adobe Champion

When you say "email click"... can you confirm that you mean this?

 

1. On your website, you have links to emails... when you click on this, you are seeing two tracking calls?

 

2. You are in an email, and click on a link, when the website opens, you are getting double tracking?

 

 

I assume that are using Adobe Launch, if so, you can enable debugging mode in your console to understand what Rules are being triggered, this can tell you if the same rule is triggering twice, or if there are two separate rules being triggered....

 

To turn on Debugging, run this in your console:

_satellite.setDebug(true)

 

You can turn it off with:

_satellite.setDebug(false)

 

 

This is the first step to understanding what is happening... 

 

Maybe your one rule has multiple "triggers" and more than one of those is returning true... or maybe you have two separate rules that are triggered by your actions.... we need to understand what is happening before we can start to fix it.

Avatar

Community Advisor

Adding on to @Jennifer_Dungan's questions:

Is the "query" mentioned here

however the query is only in the URL once


the same as the "search query" mentioned at


Running into an issue where there is double firing of a search query after an email click

?

Providing some examples of what you're referring to might help us to better understand your problem.

Avatar

Correct answer by
Community Advisor

To debug the issue, you can try the following steps:

  1. Use the browser's developer tools to monitor the network requests and identify any duplicate requests related to the search query event.

  2. Inspect your JavaScript and Adobe Analytics implementation to ensure the search query event is triggered only once.

  3. Review any recently added or updated code on the page that could be causing conflicts or unexpected behavior.

Avatar

Level 4

@tomwr 

I have also faced same issue long ago.

 

As @Jennifer_Dungan suggested check the rule, might be another rule as created with this condition.

you can check by entering this in console.

_satellite.setDebug(true)