Ajay on "[Plugin: Contextual Related Posts] Append UTM Campaign Parameters to Related Links"

ساخت وبلاگ

I would like to track the use of the related posts beneath my articles and I have been using UTM parameters for exteal links with great success.

I was wondering where to add in the parameters and in what format, this is the text I want to add %2F%3Futm_source%3Dmysite%26utm_medium%3Drelatedposts%26utm_campaign%3Dinteal

Thanks for any help!

https://wordpress.org/plugins/contextual-related-posts/

The plugin uses the standard WordPress the_permalink for the links. How are you applying it for exteal links?

One way that I'm thinking of is using jQuery potentially to replace the links within the class crp_related with that code.

Please see an example of something similar: https://stackoverflow.com/questions/2805742/how-to-update-append-to-an-href-in-jquery

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 209 تاريخ : سه شنبه 11 خرداد 1395 ساعت: 1:44