Last active
October 1, 2015 14:35
-
-
Save Chizh/b5f8a6b78a82beed4874 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(window["rrApiOnReady"] = window["rrApiOnReady"] || []).push(function() { | |
rrApi.categoryView("Example/Category/Path"); // Full path to current category with slash as a separator, string | |
retailrocket.categories.post( // Send category data | |
{ | |
"categoryPath": "Example/Category/Path", // Full path to current category with slash as a separator, string | |
"url": "http://www.example.com/path/to/categoryPage" // Canonical URL of category page | |
} | |
); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment