Cookies editable module in Marketo

Level 3

Cookies editable module in Marketo

Hello community!! 

We are creating some editable landing page templates, that will be customizable in terms of colors and content. 

We obviously need to add the cookies information pop-up to the LP. However, that pop-up module needs to have the content edited.

Is there any way that module can be edited with the Marketo editor and without having the need of accessing the code? 

Thank you very much! 

2 REPLIES 2
Level 6

Re: Cookies editable module in Marketo

Hey Nerea, the way these cookie notifications are deployed is usually thru a script that adds some HTML for the "pop up" and then either some styles that get injected by the script or some styles that are already in the <head> (in a <style> tag or attached in a stylesheet) to make it pretty. 

The words that show up on in the pop-up would be a part of the HTML component. 

IF you're using a script to populate the pop-up:

You'll want to find the HTML that's getting created in the script and replace that with a variable, ex ${Cookie-Text}. This'll allow you to edit the text per-page by updating the variable (text) on the Landing Page.

IF you're using a section on the template to create the pop-up (is hard-coded):

Another way to go about this would be to just code the pop-up into your template instead of injecting it via script. If you're going this route you should be able to create an actual editable area for your content since the code for the pop-up will be on the template so it can be read by the editor (whereas an editable area injected by a script wouldn't show up as editable in the editor). 

Level 3

Re: Cookies editable module in Marketo

Thank you so much for your answer Dave!!