AI助手支持GPT4.0
Callback for Monarch by Logic Hop adds a Javascript callback to the Monarch Social Sharing Plugin.
由Logic Hop进行的Monarch回调向Monarch Social Sharing插件添加了Javascript回调。
Simply install the plugin and a callback is automatically available when any Monarch social share or follow button is clicked.
只需安装插件,当单击任何Monarch社交共享或关注按钮时,就会自动提供回调。 p>
Now you can trigger custom events when a social share or follow button has been clicked.
现在,您可以在点击社交分享或关注按钮后触发自定义事件。
The callback is available for use in your pages, posts or Javascript files – Simply add the following code:
该回调可在您的页面,帖子或Javascript文件中使用-只需添加以下代码: p>
script>
code> pre>
When a Monarch event is triggered the stats parameter is sent to the logichop_monarch_callback function with the following values:
触发Monarch事件时,会将具有以下值的 stats strong>参数发送到 logichop_monarch_callback em>函数: p>action 动作 strong>The action performed. 已执行的操作。Typically ‘share’, ‘follow’ or ‘media’.通常是“分享”,“关注”或“媒体”。 em> li> ul> li>network 网络 strong>The network for which the action was triggered. 为其触发操作的网络。 ‘Facebook’, ‘Twitter’, etc.‘Facebook’,‘Twitter’等。 em> li> ul> li>media_url media_url strong>Image URL when media is shared. 共享媒体时的图像URL。 em> li> ul> li>post_id post_id strong>ID of the page or post where the button was triggered. 触发按钮的页面或帖子的ID。 em> li> ul> li> ul>Interested in Content Personalization for WordPress? See how we're using Monarch with Logic Hop – Check out our tutorial at: https://logichop.com/track-social-shares/ 对WordPress的内容个性化感兴趣? strong>了解我们如何将Monarch与Logic Hop结合使用–在以下网址查看我们的教程:https://logichop.com/track-social-shares/ p>>
Typically ‘share’, ‘follow’ or ‘media’.
通常是“分享”,“关注”或“媒体”。 em> li>
ul>
li>
‘Facebook’, ‘Twitter’, etc.
‘Facebook’,‘Twitter’等。 em> li>
Interested in Content Personalization for WordPress? See how we're using Monarch with Logic Hop – Check out our tutorial at: https://logichop.com/track-social-shares/
对WordPress的内容个性化感兴趣? strong>了解我们如何将Monarch与Logic Hop结合使用–在以下网址查看我们的教程:https://logichop.com/track-social-shares/ p>>
p>
>
This plugin requires the Monarch Social Sharing Plugin by Elegant Themes.
此插件需要使用“优雅主题”的“君主社交共享”插件。 p>
/wp-content/plugins/
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
ol>
原文出处:http://www.sanshu.cn/a/6195.html
群主管理都是支付大佬