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

Direct Calls from Iframe

Avatar

Avatar
Validate 1
Level 2
leep71886616
Level 2

Likes

3 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back
Ignite 1
View profile

Avatar
Validate 1
Level 2
leep71886616
Level 2

Likes

3 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back
Ignite 1
View profile
leep71886616
Level 2

22-12-2016

Hi all - 

I have a webpage that has an iframe on it. I have a form on the iframe'd page. Using direct call rules, i have a string passed to Adobe Analytics each time the form is submitted. 

The problem is, i have a tracking code on the parent page, but the Direct Call rule that is being fired is not getting attributed to the campaign code. 

I have the marketing cloud service setup. How can i resolve this issue?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

01-01-2017

Hi Leep,

Also , To  Successfully track the iframe page You just need to add the same DTM Header & Footer code (that you have on parent page) to iframe page/form and yes, there will be multiple server calls and you'll need to suppress one by adding this to your tool custom code:

var isInIframe = (parent !== window)
if(isInIframe ){
return false; //this will prevent the Adobe Analytics tool to send a pageview image request
}else{
return true; //this will allow the Adobe Analytics tool to send a pageview image request
}

Thanks & Regards

Parit Mittal

Answers (2)

Answers (2)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

05-01-2017

Hi ,

Is the above issue resolved or is there anything else that we can help you with ?

Thanks & Regards

Parit Mittal

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

28-12-2016

Hi Leep,

There is a few things we need to verify in this case.

1) Can you see Analytics beacons being fired from both the page and the iframe?
2) If you are seeing those beacons, do they contain the same 'mid' parameter?
3) If you can see the Analytics beacon being sent from the iframe, does that beacon contain the tracking code?

 

Once we know the answer to these questions, we can figure out where we need go next.

 

Cheers,

Jantzen