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

Campaign Classic 6.11 webApps: includes for footers and analytics

Avatar

Avatar
Give Back
Level 2
EggBoy
Level 2

Likes

18 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 10
Validate 1
Boost 5
View profile

Avatar
Give Back
Level 2
EggBoy
Level 2

Likes

18 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 10
Validate 1
Boost 5
View profile
EggBoy
Level 2

23-05-2018

Hi All,

Doing a cleanup of all the webApps we've accumulated over the years, and want to create centrally manged snippets for Adobe Analytics, Google Analytics and a common footer, which I need for GDPR compliance (yay!).

I thought I would just dump the footer codes into personalization blocks and use them, but that throws an error.

NOTE: I am not a developer...but can usually cobble stuff together...with help!

Note that we are STILL not on DTM, so I need to use the old ways of embedding Adobe Analytics scripts on pages...won't have access to DTM until October.

Analytics scripts....totally standard and work when I embed them into the webApp directly....put the code into  personalization blocks and referenced them this way:

<%@ include view='wtrsWebAppAAformLoad' %>

<%@ include view='wtrsWebAppAAformSubmit' %>

<%@ include view='wtrsWebAppGAformLoad' %>

<%@ include view='wtrsWebAppGAformSubmit' %>

Simple HTML footer stuff:

<%@ include view='wtrsWebAppLegalEN' %>

When I publish and try to access the webapp in a browser, I get this error:

Invalid command: ' include view='wtrsWebAppLegalEN' '.

Invalid command: ' include view='wtrsWebAppAAformLoad' '.

Invalid command: ' include view='wtrsWebAppGAformLoad' '.

SSI-280000 Failure while analyzing document (3 error(s)).

I suspect I could create JS snippets for the analytics scripts and reference them...what is the format for that?

For the HTML, how does one create and reference includes in Campaign Classic

Thanks!

Replies

Avatar

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
pablo_rosero1
Level 10

03-12-2018

Hi Eugene,

I'm not sure about this one. Please see About web applications​.

Hope it helps!

All the best,

Pablo