Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

guidov61672237
Community profile guidov61672237 Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 19-07-2016 12:21:19 AM
Offline
Top badges earned by guidov61672237
Customize the badges you want to showcase on your profile
clearvar() is not working
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello,We've implementend dtm on an SPA. In the condition of every rule we have the following scriptvar s = _satellite.getToolsByType('sc')[0].getS();s.clearVars();return true;The strange thing is that for pages with load times with longer load times (more than 4 seconds) we get the following error and the rule will not fire:SATELLITE: Condition for rule "AA: page load" not met. Error: Cannot read property 'clearVars' of nullHow can we fix this problem?*On each page load a rondomID is set in the ...

Views

449

Likes

0

Replies

1
Re: Adobe Analytics Plugins in DTM on SPA platform
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hi Parit,I followed your instructions, but now the beacon is not being suppressed. Do you have another solution?Regards,Guido

Views

278

Likes

0

Replies

0
Adobe Analytics Plugins in DTM on SPA platform
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello,We have DTM installed on a SPA platform. The problem I have is that the days since last visit plugin does not seems to work because of the return false function we use to supress the initial page load beacon. This is the customer code we use on tool level: return falses.abort = true;s.usePlugins=trues.doPlugins=function(s) {/* Add calls to plugins here */s.prop45 = s.getDaysSinceLastVisit('dslv');s.eVar45 = s.getDaysSinceLastVisit('dslv');}/* Plugin: Days since last Visit 1.1 - capture tim...

Views

507

Likes

0

Replies

3
Re: s.clearvars function not working after new library update (16.4)
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Thanks for the quick response. I've send you a PM.

Views

360

Likes

0

Replies

0
Re: s.clearvars function not working after new library update (16.4)
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
@ParmitIt seems that it has nothing to do with the new libary version. Our website is an SPA and we measure page loads by using event based rules. Each time afunctional page load takes place we generte a random ID in our dataLayer and we use this as a trigger for the page load rule. In this rule I use the above script. The script works fine, but not in the case I reload the page. Then I get the following error:SATELLITE: Condition for rule "AA: page load" not met. Error: Cannot read property 'cl...

Views

354

Likes

0

Replies

0
s.clearvars function not working after new library update (16.4)
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello,It appears that after library update the following script which I set in the condition of multiple rules (because our platform is an SPA) is not working anymore. Is there a solution for this?var s = _satellite.getToolsByType('sc')[0].getS();s.clearVars();return true;Regards,Guido

Views

849

Likes

0

Replies

4
How to create a data-element based on a JSON object array?
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello all,I'm working with the W3 dataLayer and want to trigger a rule when a certain product is on the page, but I don't know how I can create a data-element that is based on a array. So for example I have the following dataLayer and I want to trigger a rule when the product name contains laptop. How can I do this?var digitalData = { "listing": [ { "productInfo": { "productName": "tv", "productId": "19381654" } , "productInfo": { "productName": "laptop", "productId": "19381652" } } ] }

Views

485

Like

1

Replies

1
Re: Event based rule and direct call rule
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Thanks Parit,I think I'm going to use an EBR to track the page load by making use of the dataelementchanged rule. This seems a more flexible solution and it allows me to add to s.clearvar() function to the conditions as custom code. I've also considered the pushstate hashchange trigger, but this can cause timing issues, because the dataLayer has to be loaded before the rule executes.What would you recommend? Regards, Guido

Views

663

Likes

0

Replies

0
Re: Event based rule and direct call rule
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello Kaushal,Thanks for the documentation. Is there a way to use the clearvar function in combination with direct call rules, without having to populate the evars and props in custom script, but just by using the standard template?Regards, Guido

Views

670

Likes

0

Replies

0
Event based rule and direct call rule
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Hello,I've set up a rule that based on the change of a data element (page name) sets a event (search). Because the website is an SPA I've created direct rules for measuring 'page loads'. The problem is that the search event is being set in multiple images (in a custom link image and in the 'page load' image that is triggerd by the direct call) so that i'm recording 3 searches instead of one. The downside of the direct rules is that I can't use conditions so I do need to make use of a event based...

Views

3.0K

Likes

0

Replies

10
s_vi cookie and s_fid cookie are not being set
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Adobe Analytics
Hello,On our test environment they made changes regarding cookies. Now I see that the s_vi cookie which is being set on production is not being set on the test environment. According to the information I could find in that case the sfid cookie should be set, but I dont see that cookie either. I do see that information is send to adobe analytics as usual. Can anyone explains how this happens and what the consequences are? We are using: SiteCatalyst code version: H.24.2.

Views

376

Likes

0

Replies

1
Re: Difference between s_fid and s_vi
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Thanks Tacia. Do I have to configure something in DTM for setting the s_vi cookie or should this be done automatically?

Views

430

Likes

0

Replies

0
Difference between s_fid and s_vi
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
I'm a little bit confused about the difference between these two cookies. Both contain the visitorID+timestamp, but I dont understand when which cookie is being set. On the test environment of a client I see s_fid, but on the staging and production environment I see s_vi. Can someone explain this to me?

Views

1.1K

Likes

0

Replies

3
Re: How can I use the daysSinceLastVisit-plugin within DTM?
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
Thanks now it works! 

Views

460

Likes

0

Replies

0
How can I use the daysSinceLastVisit-plugin within DTM?
Avatar
Validate 1
Level 1
guidov61672237
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
guidov61672237
- Dynamic Tag Management
I understand that I have to place the code in the custom page code editor of the tool. So now I have the following code, but I still don't see the dslv cookie being set. Maybe this is a terrible stupid question, but I'm no developer so I can't figure out what is going wrong. Please help me out guys! I buy you lunch.The code:function s_doPlugins(s){ s.prop45 = s.getDaysSinceLastVisit("dslv");}s.doPlugins=s_doPlugins;/* Plugin: Days since last Visit 1.1 - capture time from last visit*/s.getDaysSin...

Views

1.0K

Likes

0

Replies

3
Likes from