nazarlitvin / gulp-utm2html

Add UTM tags to URL in HTML file
1 stars 2 forks source link

Is it possible to customise the content tag by data-attribute? #1

Open delicatesther opened 7 years ago

delicatesther commented 7 years ago

Hi,

I would love to be able to customise the output of the content parameter by using a data-embed on each anchor. I'm working on email HTML and each anchor needs its content tag specified by whether it's an image, a button and so on. Is this a possibility?

Thanks!

nazarlitvin commented 7 years ago

Hi @delicatesther, please tell me if I understand you correctly, you would like to have a different UTM-tags in the same email dependent on the data-embed attribute?

delicatesther commented 7 years ago

Hi @nazarlitvin, that is correct. The UTM-tags in our emails have a parameter which defines what content the anchor tag is related to, besides campaign dates et cetera.

nazarlitvin commented 7 years ago

@delicatesther right now it's not possible, but I can add this functionality soon if you need it.