Mobile app version of vmapp.org
Login or Join
Twilah146

: I had honestly never thought about it before, but GA event tracking is not a bad solution for a simple "database". It allows several values to be passed for categorization, labeling, "additional

@Twilah146

I had honestly never thought about it before, but GA event tracking is not a bad solution for a simple "database". It allows several values to be passed for categorization, labeling, "additional info", and numerical data. In the case of the text box (presumably with a submit button) the following code would work fairly well:

var textbox = document.getElementById('myTextBox'),
submitButton = document.getElementById('myButton');

submitButton.onclick = function()
{
_trackEvent('data-store', textbox.name, textbox.value, 0);
// 'data-store' can be replaced with whatever category of data you want, for sortability's sake
// the 0 can be replaced with any other numerical data you want - but it must be numerical
}


This should answer your first two list items, but I'm unsure as to what you mean by "what widgets are used". It should be some simple javascript.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Twilah146

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme