{"id":7829,"date":"2025-09-11T11:56:57","date_gmt":"2025-09-11T11:56:57","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=7829"},"modified":"2025-09-11T11:56:58","modified_gmt":"2025-09-11T11:56:58","slug":"send-incrementing-value-to-google-sheet","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/","title":{"rendered":"Send incrementing value to Google Sheet"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">This guide explains how to send incrementing number values to Google Sheets, a useful method for tracking with webhook nodes. This approach is commonly used for split testing nodes in a decision tree, ensuring accurate data tracking and analysis.<\/h4>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;Go to&nbsp;<a href=\"https:\/\/docs.google.com\/spreadsheets\">https:\/\/docs.google.com\/spreadsheets<\/a><\/p>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Create your Google Sheet by clicking the \u201cBlank Spreadsheet\u201d<\/p>\n\n\n\n<p><strong>Step 3: <\/strong>In this example we\u2019re going to create 2 columns and name the first row.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1022\" height=\"381\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png\" alt=\"\" class=\"wp-image-7830\" style=\"width:370px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png 1022w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6-300x112.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6-768x286.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6-60x22.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6-150x56.png 150w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong>\u00a0Go to Extensions > App Script<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"956\" height=\"562\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141.webp\" alt=\"\" class=\"wp-image-7831\" style=\"width:360px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141.webp 956w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141-300x176.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141-768x451.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141-60x35.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202141-150x88.webp 150w\" sizes=\"(max-width: 956px) 100vw, 956px\" \/><\/figure>\n\n\n\n<p><strong>Step 5:<\/strong>\u00a0Copy and paste this code<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function doPost(e) {\n  try {\n    \/\/ Use the active spreadsheet (the one this script is bound to)\n    const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();\n\n    \/\/ Always read and write only A2\n    let value = sheet.getRange(\"A2\").getValue();\n    if (isNaN(value) || value === \"\") value = 0;\n\n    value = value + 1;\n    sheet.getRange(\"A2\").setValue(value);\n\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'success',\n        'message': 'Incremented value in A2: ' + value\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n\n  } catch (error) {\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'error',\n        'message': error.toString()\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n  }\n}<\/code><\/pre>\n\n\n\n<p><strong>Step 6:<\/strong>\u00a0Click Deploy > New Deployment<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"770\" height=\"532\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707.webp\" alt=\"\" class=\"wp-image-7832\" style=\"width:342px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707.webp 770w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707-300x207.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707-768x531.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707-60x41.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202707-150x104.webp 150w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p><strong>Step 7:\u00a0<\/strong>Select Type > Web App<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"532\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202759.webp\" alt=\"\" class=\"wp-image-7833\" style=\"width:341px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202759.webp 734w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202759-300x217.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202759-60x43.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202759-150x109.webp 150w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/figure>\n\n\n\n<p><strong>Step 8:<\/strong> Set the description and Select \u201cAnyone\u201d from the \u201cWho has access\u201d dropdown<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"810\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-1024x810.webp\" alt=\"\" class=\"wp-image-7834\" style=\"width:443px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-1024x810.webp 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-300x237.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-768x608.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-60x47.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901-150x119.webp 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-202901.webp 1504w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 9:<\/strong>\u00a0Click \u201cAuthorize Access\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"394\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358.webp\" alt=\"\" class=\"wp-image-7835\" style=\"width:440px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358.webp 938w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358-300x126.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358-768x323.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358-60x25.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203358-150x63.webp 150w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/figure>\n\n\n\n<p><strong>Step 10:<\/strong>\u00a0If you see the Google hasnt verified this app message, just Proceed and Allow<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"759\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-1024x759.webp\" alt=\"\" class=\"wp-image-7836\" style=\"width:404px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-1024x759.webp 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-300x222.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-768x570.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-60x44.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512-150x111.webp 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203512.webp 1254w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 11:<\/strong>\u00a0Copy the Web App URL<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"632\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-1024x632.webp\" alt=\"\" class=\"wp-image-7837\" style=\"width:435px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-1024x632.webp 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-300x185.webp 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-768x474.webp 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-60x37.webp 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727-150x93.webp 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/Screenshot-2025-06-12-203727.webp 1480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 12:<\/strong>\u00a0In your Leadshook decision tree, create a webhook node, paste the copied Web App URL in your Request URL. It should be configured like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"342\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-1024x342.png\" alt=\"\" class=\"wp-image-7838\" style=\"width:672px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-1024x342.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-300x100.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-768x256.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-1536x513.png 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-2048x684.png 2048w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-60x20.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-7-150x50.png 150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 12:\u00a0<\/strong>Save and Publish your decision tree and run test.<\/p>\n\n\n\n<p>Important note: The code adds the incrementing number value to your cell &#8220;A2&#8221; (Variation1). <\/p>\n\n\n\n<p><strong>Step 13:<\/strong> Go Back to Extensions > App Script<\/p>\n\n\n\n<p><strong>Step 14:<\/strong> Add a New Script and name this Variation 2<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-1024x494.png\" alt=\"\" class=\"wp-image-7839\" style=\"width:539px;height:auto\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-1024x494.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-300x145.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-768x371.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-60x29.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8-150x72.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-8.png 1059w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Replace the code&#8217;s &#8220;A2&#8221; with &#8220;B2&#8221; or any cell that you like if you would like to add an incrementing value on that specific cell. Here&#8217;s an example for adding incrementing number to cell &#8220;B2&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function doPost(e) {\n  try {\n    \/\/ Use the active spreadsheet (the one this script is bound to)\n    const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();\n\n    \/\/ Always read and write only B2\n    let value = sheet.getRange(\"B2\").getValue();\n    if (isNaN(value) || value === \"\") value = 0;\n\n    value = value + 1;\n    sheet.getRange(\"B2\").setValue(value);\n\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'success',\n        'message': 'Incremented value in B2: ' + value\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n\n  } catch (error) {\n    return ContentService\n      .createTextOutput(JSON.stringify({\n        'status': 'error',\n        'message': error.toString()\n      }))\n      .setMimeType(ContentService.MimeType.JSON);\n  }\n}<\/code><\/pre>\n\n\n\n<p><strong>Step 14:<\/strong> Click Deploy > New Deployment.<\/p>\n\n\n\n<p><strong>Step 15:<\/strong> Copy that deployment&#8217;s web app URL and use it on your other webhook node.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to send incrementing number values to Google Sheets, a useful method for tracking with webhook nodes. This approach is commonly used for split testing nodes in a decision tree, ensuring accurate data tracking and analysis. Step 1:&nbsp;Go to&nbsp;https:\/\/docs.google.com\/spreadsheets Step 2:&nbsp;Create your Google Sheet by clicking the \u201cBlank Spreadsheet\u201d Step 3: In [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[972,620,239,281],"tags":[226,1102,567,1010,285],"class_list":["post-7829","post","type-post","status-publish","format-standard","hentry","category-analytics","category-scripts","category-tracking","category-webhooks","tag-google","tag-google-sheet","tag-script","tag-split-test-2","tag-webhook"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Send incrementing value to Google Sheet - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Send incrementing value to Google Sheet - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"This guide explains how to send incrementing number values to Google Sheets, a useful method for tracking with webhook nodes. This approach is commonly used for split testing nodes in a decision tree, ensuring accurate data tracking and analysis. Step 1:&nbsp;Go to&nbsp;https:\/\/docs.google.com\/spreadsheets Step 2:&nbsp;Create your Google Sheet by clicking the \u201cBlank Spreadsheet\u201d Step 3: In [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-11T11:56:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-11T11:56:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1022\" \/>\n\t<meta property=\"og:image:height\" content=\"381\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Von\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Von\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/\"},\"author\":{\"name\":\"Von\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/646557edf0c248393812c53a8ce7fe8b\"},\"headline\":\"Send incrementing value to Google Sheet\",\"datePublished\":\"2025-09-11T11:56:57+00:00\",\"dateModified\":\"2025-09-11T11:56:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/\"},\"wordCount\":262,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/image-6.png\",\"keywords\":[\"Google\",\"google sheet\",\"script\",\"split test\",\"webhook\"],\"articleSection\":[\"Analytics\",\"Scripts\",\"Tracking\",\"Webhooks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/\",\"name\":\"Send incrementing value to Google Sheet - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/image-6.png\",\"datePublished\":\"2025-09-11T11:56:57+00:00\",\"dateModified\":\"2025-09-11T11:56:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/image-6.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/image-6.png\",\"width\":1022,\"height\":381},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/send-incrementing-value-to-google-sheet\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send incrementing value to Google Sheet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/646557edf0c248393812c53a8ce7fe8b\",\"name\":\"Von\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g\",\"caption\":\"Von\"},\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/voncs-leadshook-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Send incrementing value to Google Sheet - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/","og_locale":"en_US","og_type":"article","og_title":"Send incrementing value to Google Sheet - LeadsHook Knowledge Base","og_description":"This guide explains how to send incrementing number values to Google Sheets, a useful method for tracking with webhook nodes. This approach is commonly used for split testing nodes in a decision tree, ensuring accurate data tracking and analysis. Step 1:&nbsp;Go to&nbsp;https:\/\/docs.google.com\/spreadsheets Step 2:&nbsp;Create your Google Sheet by clicking the \u201cBlank Spreadsheet\u201d Step 3: In [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2025-09-11T11:56:57+00:00","article_modified_time":"2025-09-11T11:56:58+00:00","og_image":[{"width":1022,"height":381,"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png","type":"image\/png"}],"author":"Von","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Von","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/"},"author":{"name":"Von","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/646557edf0c248393812c53a8ce7fe8b"},"headline":"Send incrementing value to Google Sheet","datePublished":"2025-09-11T11:56:57+00:00","dateModified":"2025-09-11T11:56:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/"},"wordCount":262,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png","keywords":["Google","google sheet","script","split test","webhook"],"articleSection":["Analytics","Scripts","Tracking","Webhooks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/","url":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/","name":"Send incrementing value to Google Sheet - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png","datePublished":"2025-09-11T11:56:57+00:00","dateModified":"2025-09-11T11:56:58+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2025\/09\/image-6.png","width":1022,"height":381},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/send-incrementing-value-to-google-sheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"Send incrementing value to Google Sheet"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/646557edf0c248393812c53a8ce7fe8b","name":"Von","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d8c9fa6fa4af8da43fe4d69a7bddaddadc9d1f7fbaf9363aee7d9187dee60cd?s=96&d=mm&r=g","caption":"Von"},"url":"https:\/\/www.leadshook.com\/help\/author\/voncs-leadshook-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=7829"}],"version-history":[{"count":1,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7829\/revisions"}],"predecessor-version":[{"id":7840,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/7829\/revisions\/7840"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=7829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=7829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=7829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}