Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers::$settings is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/class-alg-wc-custom-order-numbers.php on line 108

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$id is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 29

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the custom-order-numbers-for-woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$desc is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 30

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the download-manager domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$package is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 188

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$email is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 201

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 41

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 42

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 43

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$admin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 88

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 28

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 29

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 30

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$public is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 89

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$options is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 76

Deprecated: Creation of dynamic property Factory325_Plugin::$mainFile is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 79

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginRoot is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 80

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginSlug is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 81

Deprecated: Creation of dynamic property Factory325_Plugin::$relativePath is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 82

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginUrl is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 83

Deprecated: Creation of dynamic property Factory325_Plugin::$childPlugins is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 86

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginName is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 89

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginTitle is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 90

Deprecated: Creation of dynamic property Factory325_Plugin::$version is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 91

Deprecated: Creation of dynamic property Factory325_Plugin::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 92

Deprecated: Creation of dynamic property Factory325_Plugin::$tracker is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 93

Deprecated: Creation of dynamic property Factory325_Plugin::$host is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 94

Deprecated: Creation of dynamic property Factory325_Plugin::$api is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/api/api.php on line 14

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$default is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 52

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$type is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 64

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 68

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$key is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 69

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 70

Deprecated: Creation of dynamic property Factory325_Plugin::$license is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 16

Deprecated: Creation of dynamic property OnpUpdates324_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 48

Deprecated: Creation of dynamic property Factory325_Plugin::$updates is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 15

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ninja-tables-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the learndash domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 21

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 22

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 23

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 24

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 25

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 26

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 27

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 28

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-user-avatar domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$ecpay_pay is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 98

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 101

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_crt_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 102

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_pass is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 103

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_display_name is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 104

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$MerchantID is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 106

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashKey is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 107

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashIV is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 108

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Imagify\Job\MediaOptimization::$query_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/imagify/inc/classes/class-imagify-abstract-background-process.php on line 38

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php on line 204

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-per-page.php on line 48

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 52

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v1 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 208

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v2 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 276

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/class-ld-settings-sections.php on line 796

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-management-display.php on line 78

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_classic_block is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 306

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-management-display.php on line 94

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-email-settings.php on line 97

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-group-leader-user.php on line 59

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-membership.php on line 74

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-courses-themes.php on line 66

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-settings-section-theme-ld30.php on line 64
【Elementor】Elementor表單如何埋設Google Adwors轉換追蹤碼(如果你不懂GTM也辦得到) – WordPress網站架設線上課程新手教學 – 小訣學院

【Elementor】Elementor表單如何埋設Google Adwors轉換追蹤碼(如果你不懂GTM也辦得到)

用WordPress做網站有一個好處,是要埋設各種廣告追蹤時很方便,而且也不用依賴工程師,行銷人員完全可以自己來,以下為對Elementor表單來埋設Google Ads廣告轉換追蹤碼的方式。
如果你不懂GTM但懂WordPress,下面的方式就很適合你。

一、全域網站代碼

首先,你必頁在全站中埋下「全域網站代碼」 ,這個必須先埋,否則以下的都沒有作用。(下圖畫面你必須從Google Adword後台去取得)

可以配合「Header Footer Code Manager」這款外掛來埋設,自然就會套用到全站每一頁。

二、轉換追蹤碼

又稱「事件程式碼」,有下列二種的追蹤方式,任選一種即可。

(1)方式1:填表成功後的自動轉址到「感謝頁」

把下圖的「網頁載入型」的轉換追蹤碼埋在「感謝頁」中。

(1)-1:請在WordPress新建一個頁面稱為感謝頁,並用Elementor去編輯它

(1)-2:在感謝頁埋入轉換追蹤碼。

左側立一個html工具至右側,並貼上轉換追蹤碼。

 

(1)-3:再回到表單頁做下圖的動作:

 

(2)方式2:表單提交按鈕

把下圖的「點擊型」轉換追蹤碼埋在「含有表單」的這一頁中。

(2)-1:「含有表單」的這一頁

轉換追蹤碼埋在與表單同一頁中(其實若要埋在header中一樣也可以套用到)。

(2)-2:在表單的按鈕中加入追蹤程式碼

<button onclick="return gtag_report_conversion('http://example.com/your-link')">提交</button>

如上面程式碼是Google要求把按鈕的程式碼改成黃色那樣的程式碼, 而Google官方給的code範本,是以可以編輯手刻程式碼的狀態下,但在Elementor中我們無法直接那樣照做,因為在Elementor中無法直接改程式原始碼,只能幫Elementor的表單按鈕加上一個ID,再透過此ID來綁定上面那樣的程式碼內容。

(2)-2-1:把表單的按鈕設一個ID,例如設成「btn」:

2)-2-2:加入一段jq語法

從左邊再拉一個html工具,輸入以下的語法來對表單按鈕的ID來綁定一個點擊事件:

<!--引用jq-->
<script src="//code.jquery.com/jquery-latest.min.js"></script>

<!--code-->
<script>
$("#btn").attr("onclick","return gtag_report_conversion('http://example.com/your-link')");
</script>

然後,你用F12開發人員模式,就可以觀察到該按鈕已經綁定點擊後會自動追蹤轉換的事件程式碼了,如下圖黃色處,透過上面的jq語法已經我們透過按鈕的ID來在原始碼中加入一段Google ads指定的點擊事件追蹤碼了。

ps:上面用F12要觀看是否有綁定成功,可以點此看demo

三、 總結:

我偏愛方式1,為何?

1、比較好追蹤是否成功

因為按鈕送出後只要有轉址到感謝頁就一定有90%是有追蹤到轉換成功的。

2、感謝頁不只是感謝的話

「感謝頁」上面我還可以做一點巧思,例在感謝頁上再放一兩個推薦的商品,搞不好它看了後又再點回去買,這是每個行銷小環節都去動腦,能多曝光的就不放過。

「感謝頁」上面你也可以放你其他的文章、網站、或粉絲專頁,順便導一下流量,反正他買完了沒事做,就可能點過去逛逛,增加流量,或是要求他幫粉專按一個讚才能方便做售後客服(就得到一個新讚了,一魚兩吃)。

以上不管是填表追蹤或是購買成功追蹤都適用。

本文同步發表於小訣學院|優雅筆寄
參考文章: Google Support


Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/comment-template.php on line 2687

發表留言