Hai Sara21, I hope I can share a bit frm my experience.
When formulating a shampoo, usually we need :
Primary Surfactant
Secondary Surfactant / Co_Surfactant
Thickener
Moisturizer
Any active Ingredients (depends on the extra benefit we want)
Preservative
Fragrance
From your ingredients,
Sodium Cocoyl Isethionate acts as a primary surfactant because of its anionic.
Lauryl Glucoside which is a non-ionic surfactant as the co surfactant.
Guar as the Moisturizer while it also can provides some thickening properties.
But, since most of “guar” has a cationic charge, you need to add some “amphoteric surfactant”* like Cocamidopropyl betaine or Lauryl hydroxysultaine or anything else.
And… you need to know the type of ^guar^ that you use. Generally there was 2 type of Guar. One of it can swell after you add some citric acid or any acid to bring it to its optimum pH.
If the viscosity still not achieve your goals & you okay with some PEG thickener, you can try to use is as well.
And do not forget your total surfactant need to be at least around 11 - 13% solid content when you make a shampoo for a good cleansing properties.